package com.milvus.service.impl;

import com.milvus.featureExtractor.ImageFeatureExtractor;
import com.milvus.service.MilvusService;
import io.milvus.v2.client.MilvusClientV2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;


class MilvusServiceImpl implements MilvusService {

    @Value("${milvus.collectionName}")
    public String collectionName;
    @Value("${milvus.token}")
    public String token;
    @Value("${milvus.uri}")
    public String uri;
    @Value("${milvus.uploadPath}")
    public String uploadPath ;
    public ImageFeatureExtractor extractor ;
    @Autowired
    public MilvusClientV2 milvusClient;
    public MilvusServiceImpl() throws Exception {
        extractor= new ImageFeatureExtractor();
    }
}
